<!--
*
*  INSPINIA - Responsive Admin Theme
*  version 2.7
*
-->

<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title><?=$system['sys_title']?> | <?=$title?></title>
    <?php $this->load->view('template/css');?>
    <link rel="stylesheet" href="<?=base_url("assets/css/my.css")?>">
    <link rel="stylesheet" href="<?=base_url("assets/css/plugins/iCheck/custom.css")?>">
    <link href="<?=base_url("assets/css/plugins/dataTables/datatables.min.css")?>" rel="stylesheet">
</head>

<body class="font16">
<?php $this->load->view('template/header');?>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5 style="font-size: 18px;"><?=$title?></h5>

                </div>
                <div class="ibox-content">
                    <table class="table table-striped table-bordered table-hover dataTables-example">
                        <thead>
                        <tr>
                            <th>openid</th>
                            <th>昵称</th>
                            <th>头像</th>
                            <th>充值金额</th>
                            <th>平台订单</th>
                            <th>微信订单</th>
                            <th>充值时间</th>
                            <th>挑战记录</th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php foreach($record as $v):?>
                            <tr>
                                <td><?=$v['openid']?></td>
                                <td><?=$v['nickName']?></td>
                                <td><img height="50px" src="<?=$v['avatarUrl']?>" alt=""></td>
                                <td><?=$v['total_fee']?></td>
                                <td><?=$v['out_trade_no']?></td>
                                <td><?=$v['transaction_id']?></td>
                                <td><?=date('Y-m-d H:i:s',strtotime($v['time_end']))?></td>
                                <td><?=$v['attach']?></td>
                            </tr>
                        <?php endforeach;?>
                        </tbody>
                    </table>
                    <div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate">
                        <li>


                            <?php echo $this->pagination->create_links();?>
                        </li>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php $this->load->view('template/foot');?>
<?php $this->load->view('template/scrip');?>
<!-- Jquery Validate -->
</body>
</html>
